<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="frame/header.jsp"></jsp:include>

<title>添加房屋中介信息</title>
</head>

<body>
	<div class="container-fluid">
		<div class="row-fluid">
			<div>
				<ul class="breadcrumb">
					<li><a href="#">实用功能</a> <span class="divider">/</span></li>
					<li><a href="#">房屋信息</a> <span class="divider">/</span></li>
					<li><a href="#">添加房屋中介</a></li>
				</ul>
			</div>

			<div class="box">
				<div class="box-header well" data-original-title>
					<h2>
						<i class="icon-edit"></i> 添加中介信息
					</h2>
					<div class="box-icon">
						<a href="#" class="btn btn-setting btn-round"><i
							class="icon-cog"></i></a> <a href="#"
							class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
						<a href="#" class="btn btn-close btn-round"><i
							class="icon-remove"></i></a>
					</div>
				</div>
				<div class="box-content">
					<form id="myform" class="form-horizontal">
						<fieldset>
							<input type="hidden" name="userId" value="0">
							<div class="control-group">
								<label class="control-label" for="username">中介名称</label>
								<div class="controls">
									<input class="input-xlarge focused" name="username"
										id="username" type="text" value="" maxlength="100"
										check-type="required" required-message="账户不能为空！">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="password">中介地址 </label>
								<div class="controls">
									<input class="input-xlarge" name="password" id="password"
										type="password" value="" check-type="required"
										required-message="密码不能为空！">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="password">地图关键词 </label>
								<div class="controls">
									<input class="input-xlarge" name="password" id="password"
										type="password" value="" check-type="required"
										required-message="">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="email">联系电话</label>
								<div class="controls">
									<input class="input-xlarge" id="email" name="email" type="text"
										value="" check-type="mail">
								</div>
							</div>

							<div class="control-group">
								<label class="control-label" for="phone">营业时间 </label>
								<div class="controls">
									<textarea rows="3" class="input-xlarge"></textarea>
								</div>
							</div>
							
							<div class="control-group">
								<label class="control-label" for="fileInput">公司近照</label>
								<div class="controls">
									<input class="input-file uniform_on" name="file"
										id="userHeader" type="file"> <input type="button"
										value="upload" onclick="return ajaxFileUpload();">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="password">官方网址 </label>
								<div class="controls">
									<input class="input-xxlarge" name="password" id="password"
										type="password" value="" check-type="required"
										required-message="密码不能为空！">
								</div>
							</div>
							<div class="control-group">
							<label class="control-label" for="inputPassword">详细描述</label>
							<div class="controls">
								<textarea id="features" name="performance" rows="8"
									style="width: 90%" class="xheditor "></textarea>
							</div>
						</div>
							<div class="form-actions">
								<button id="saveBtn" type="button" class="btn btn-primary">保存</button>
								<button id="cancelBtn" type="button" class="btn">返回</button>
							</div>
						</fieldset>
					</form>

				</div>
			</div>
			<!--/span-->

		</div>
	</div>
	<!--/row-->
</body>

<jsp:include page="frame/scripts.jsp"></jsp:include>
<script type="text/javascript">
$(document).ready(function(){
	$('#cancelBtn').click(function(){
		window.location.href = '<c:url value="/admin/function_house_agency" />';	
	})
	
})
</script>